package com.bbva.kyfb.kyfbdto.firmas.sistemasHost;

/**
 * The Class ConsultaDatosClienteInDto.
 *
 * @author xe22570
 */
public class ConsultaDatosClienteInDto {

	/** The xti tipocons. */
	private String xtiTipocons;

	/** The cod bancsb. */
	private int codBancsb;

	/** The cod cofici. */
	private int codCofici;

	/** The cod ccontr. */
	private int codCcontr;

	/** The cod cfolio. */
	private long codCfolio;

	/** The cod cdepen. */
	private int codCdepen;

	/** The cod refeexte. */
	private String codRefeexte;

	/** The cod canaldi. */
	private int codCanaldi;

	/**
	 * Gets the xti tipocons.
	 *
	 * @return the xti tipocons
	 */
	public String getXtiTipocons() {
		return xtiTipocons;
	}

	/**
	 * Sets the xti tipocons.
	 *
	 * @param xtiTipocons the new xti tipocons
	 */
	public void setXtiTipocons(final String xtiTipocons) {
		this.xtiTipocons = xtiTipocons;
	}

	/**
	 * Gets the cod bancsb.
	 *
	 * @return the cod bancsb
	 */
	public int getCodBancsb() {
		return codBancsb;
	}

	/**
	 * Sets the cod bancsb.
	 *
	 * @param codBancsb the new cod bancsb
	 */
	public void setCodBancsb(final int codBancsb) {
		this.codBancsb = codBancsb;
	}

	/**
	 * Gets the cod cofici.
	 *
	 * @return the cod cofici
	 */
	public int getCodCofici() {
		return codCofici;
	}

	/**
	 * Sets the cod cofici.
	 *
	 * @param codCofici the new cod cofici
	 */
	public void setCodCofici(final int codCofici) {
		this.codCofici = codCofici;
	}

	/**
	 * Gets the cod ccontr.
	 *
	 * @return the cod ccontr
	 */
	public int getCodCcontr() {
		return codCcontr;
	}

	/**
	 * Sets the cod ccontr.
	 *
	 * @param codCcontr the new cod ccontr
	 */
	public void setCodCcontr(final int codCcontr) {
		this.codCcontr = codCcontr;
	}

	/**
	 * Gets the cod cfolio.
	 *
	 * @return the cod cfolio
	 */
	public long getCodCfolio() {
		return codCfolio;
	}

	/**
	 * Sets the cod cfolio.
	 *
	 * @param codCfolio the new cod cfolio
	 */
	public void setCodCfolio(final long codCfolio) {
		this.codCfolio = codCfolio;
	}

	/**
	 * Gets the cod cdepen.
	 *
	 * @return the cod cdepen
	 */
	public int getCodCdepen() {
		return codCdepen;
	}

	/**
	 * Sets the cod cdepen.
	 *
	 * @param codCdepen the new cod cdepen
	 */
	public void setCodCdepen(final int codCdepen) {
		this.codCdepen = codCdepen;
	}

	/**
	 * Gets the cod refeexte.
	 *
	 * @return the cod refeexte
	 */
	public String getCodRefeexte() {
		return codRefeexte;
	}

	/**
	 * Sets the cod refeexte.
	 *
	 * @param codRefeexte the new cod refeexte
	 */
	public void setCodRefeexte(final String codRefeexte) {
		this.codRefeexte = codRefeexte;
	}

	/**
	 * Gets the cod canaldi.
	 *
	 * @return the cod canaldi
	 */
	public int getCodCanaldi() {
		return codCanaldi;
	}

	/**
	 * Sets the cod canaldi.
	 *
	 * @param codCanaldi the new cod canaldi
	 */
	public void setCodCanaldi(final int codCanaldi) {
		this.codCanaldi = codCanaldi;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + codBancsb;
		result = prime * result + codCanaldi;
		result = prime * result + codCcontr;
		result = prime * result + codCdepen;
		result = prime * result + (int) (codCfolio ^ codCfolio >>> 32);
		result = prime * result + codCofici;
		result = prime * result
				+ (codRefeexte == null ? 0 : codRefeexte.hashCode());
		result = prime * result
				+ (xtiTipocons == null ? 0 : xtiTipocons.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(final Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		final ConsultaDatosClienteInDto other = (ConsultaDatosClienteInDto) obj;
		if (codBancsb != other.codBancsb) {
			return false;
		}
		if (codCanaldi != other.codCanaldi) {
			return false;
		}
		if (codCcontr != other.codCcontr) {
			return false;
		}
		if (codCdepen != other.codCdepen) {
			return false;
		}
		if (codCfolio != other.codCfolio) {
			return false;
		}
		if (codCofici != other.codCofici) {
			return false;
		}
		if (codRefeexte == null) {
			if (other.codRefeexte != null) {
				return false;
			}
		} else if (!codRefeexte.equals(other.codRefeexte)) {
			return false;
		}
		if (xtiTipocons == null) {
			if (other.xtiTipocons != null) {
				return false;
			}
		} else if (!xtiTipocons.equals(other.xtiTipocons)) {
			return false;
		}
		return true;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "ConsultaProductosInDto [xtiTipocons=" + xtiTipocons
				+ ", codBancsb=" + codBancsb + ", codCofici=" + codCofici
				+ ", codCcontr=" + codCcontr + ", codCfolio=" + codCfolio
				+ ", codCdepen=" + codCdepen + ", codRefeexte=" + codRefeexte
				+ ", codCanaldi=" + codCanaldi + "]";
	}

}
